package com.youku.adSDK.view.events
{
   import flash.events.Event;
   
   public class ADEvent extends Event
   {
      
      public function ADEvent(param1:String, param2:Object = null) {
         super(param1);
         this._data = param2;
      }
      
      public static const DO_FRONT:String = "doFront";
      
      public static const FRONT_DONE:String = "frontFinished";
      
      public static const FRONT_DATA_LOAD_TIME_OUT:String = "frontDataLoadTimeOut";
      
      public static const FRONT_DATA_LOADED:String = "frontDataLoaded";
      
      public static const FRONT_DATA_LOAD_ERROR:String = "frontDataLoadError";
      
      public static const FRONT_DATA_IS_NULL:String = "frontDataIsNull";
      
      public static const FRONT_SEED_DATA_LOADED:String = "frontSeedDataLoaded";
      
      public static const FRONT_LOAD_TIME:String = "frontLoadTime";
      
      public static const FRONT_DATA_INVALID:String = "frontInvalid";
      
      public static const DO_SUPPORT:String = "doSupport";
      
      public static const SUPPORT_DONE:String = "supportDone";
      
      public static const SUPPORT_DATA_LOADED:String = "supportDataLoaded";
      
      public static const SUPPORT_DATA_LOAD_ERROR:String = "supportDataLoadError";
      
      public static const DO_BACK:String = "doBack";
      
      public static const BACK_DONE:String = "backDone";
      
      public static const INIT_BACK:String = "initBack";
      
      public static const BACK_DATA_LOADED:String = "backDataLoaded";
      
      public static const BACK_DATA_LOAD_ERROR:String = "backDataLoadError";
      
      public static const DO_INSERT:String = "doInsert";
      
      public static const INSERT_DATA_LOADED:String = "insertDataLoaded";
      
      public static const INSERT_DATA_LOAD_ERROR:String = "insertDataLoadError";
      
      public static const INSERT_READY_TO_PLAY:String = "insertReadyToPlay";
      
      public static const INSERT_PLAY_DONE:String = "insertPlayDone";
      
      public static const DO_PAUSE:String = "doPause";
      
      public static const PAUSE_DATA_LOADED:String = "pauseDataLoaded";
      
      public static const PAUSE_DATA_LOAD_ERROR:String = "pauseDataLoadError";
      
      public static const DO_MIAOZHEN:String = "doMiaozhen";
      
      public static const MIAOZHEN_LOADED:String = "miaozhenDataLoaded";
      
      public static const MIAOZHEN_LOAD_ERROR:String = "miaozhenDataLoadError";
      
      public static const DO_OVERLAY:String = "doOverlay";
      
      public static const OVERLAY_DATA_LOADED:String = "overlayDataLoaded";
      
      public static const OVERLAY_DATA_LOAD_ERROR:String = "overlayDataLoadError";
      
      public static const ADHOLDER_COMPLETE:String = "adholder_complete";
      
      public static const REQUEST_AND_PLAY_FRONT_AD:String = "REQUEST_AND_PLAY_FRONT_AD";
      
      public static const CHANGE_SIZE:String = "CHANGE_SIZE";
      
      public static const CHANGE_VOLUME:String = "CHANGE_VOLUME";
      
      public static const COMMON_ERROR:String = "COMMON_ERROR";
      
      public static const COMMON_RESET:String = "COMMON_RESET";
      
      public static const VIDEO_PLAYING:String = "VIDEO_PLAYING";
      
      public static const VIDEO_END:String = "VIDEO_END";
      
      public static const CONTROL_BAR_HIDE:String = "CONTROL_BAR_HIDE";
      
      public static const CONTROL_BAR_SHOW:String = "CONTROL_BAR_SHOW";
      
      public static const CONTROL_BAR_INFO_BAR_SHOW:String = "CONTROL_BAR_INFO_BAR_SHOW";
      
      public static const CONTROL_BAR_INFO_BAR_HIDE:String = "CONTROL_BAR_INFO_BAR_HIDE";
      
      public static const CHANGE_SCREEN_MODE:String = "CHANGE_SCREEN_MODE";
      
      public static const PLAYER_PAUSE:String = "PLAYER_PAUSE";
      
      public static const PLAYER_RESUME:String = "PLAYER_RESUME";
      
      public static const REQUEST_AND_PLAY_BACK_AD:String = "PCE.REQUEST_AND_PLAY_BACK_AD";
      
      public static const COMMON_START_TO_PLAY:String = "PCE.COMMON_START_TO_PLAY";
      
      public static const PANEL_STATE_CHANGE:String = "PCE.PANEL_STATE_CHANGE";
      
      private var _data:Object;
      
      public function get data() : Object {
         return this._data;
      }
   }
}
